package wonder.com.chinaerweima.fragment;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import wonder.com.chinaerweima.R;

/**
 * Created by Administrator on 2016/6/12.
 */
public class HistoryFragment extends Fragment{
    private static  HistoryFragment  historyFragment;
    public static synchronized HistoryFragment getHistoryFragment(){
        if (historyFragment==null)historyFragment=new HistoryFragment();
        return historyFragment;
    }

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        return inflater.inflate(R.layout.activity_history,null);
    }
}
